import request from "../../utils/request/request";
import { PinPaiListType, LoginType } from "./type";
import { CommonType } from "../commonType/index"; // 公共类型

/**
 * @description 登陆接口
 */
export const RequestLoginApi = (params: any): Promise<CommonType<LoginType>> => {
    return request.post("/adminLogin", params);
}


/**
 * @description 获取品牌列表
 */
export const RequestGetPinPaiListApi = (params: any): Promise<CommonType<PinPaiListType[]>> => {
    return request.post("/getstorebymobile", params);
}